package com.demo2do.fms.entity.supplier.trans;

import com.demo2do.core.utils.Alias;

/**
 * 运输的服务供方  车辆信息 类型("0牵引车""1挂车")
 * 
 * Created by zhonghui on 2017/7/13.
 */
@Alias("VehicleType")
public enum VehicleType {

    VEHICLE_TYPE_ZERO("truck","牵引车"),

    VEHICLE_TYPE_ONE("car" , "挂车");

    private String alias;
    
    private String description;

    /**
     * @param alias
     * @param description
     */
    private VehicleType(String alias , String description) {
        this.alias = alias;
        this.description = description;
    }
    
    /**
     * Gets description.
     *
     * @return the description
     */
    public String getDescription() {
        return description;
    }
 
    /**
     * 
     * @return
     */
    public String getAlias() {
        return alias;
    }
    
}